//
//  OosJsonService.h
//  oos4ios
//
//  Created by Pablo Gonzalez on 7/21/11.
//  Copyright 2011 11870.com. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "../Feeds/OosFeed.h"
#import "../Entries/OosEntry.h"
#import "../Queries/OosQuery.h"
#import "IOosAtomServiceCallback.h"
#import <oos4ios/Exceptions/MethodNotImplementedException.h>
#import "../../Constants/PrivateConstants.h"


@interface OosJsonService : NSObject {
    
    id <IOosAtomServiceCallback> mCallback;
    NSMutableData *receivedData;
    NSUInteger attempt;
    OosQuery *mQuery;
    
}

@property (nonatomic, retain) OosQuery *query;

+ (OosJsonService *) service;

- (void) read: (id <IOosAtomServiceCallback>) callback;

@end
